package com.iot08.common.entity.app;

import com.iot08.common.entity.admin.ChannelArea;
import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.io.Serializable;

/**
 * @version 1.0
 * @Description:
 * @author: Rock
 * @time: 2020/10/17 8:42
 */
@Data
@Document("can_check_position")
public class CanCheckPosition implements Serializable {
    private static final long serialVersionUID = 1L;

    @Field("_id")
    private String id;

    @Field("agent_code")
    private String agentCode;

    private Integer status;

    private String showMapInfoStr;

    @Field("channel_area_id")
    private String channelAreaId;

    @Transient
    private Device device;
    @Transient
    private ChannelArea channelArea;

}
